package com.qumitech.visualnovel.service.oldgame;

import com.qumitech.visualnovel.controller.vo.game.GameCollectReq;
import com.qumitech.visualnovel.pubdef.dto.game.UserGameAccountRecordDTO;
import com.qumitech.visualnovel.pubdef.dto.game.GameStatisticsDTO;

import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author :  ZhChNing
 * @Descriptiom :
 * @Date Created in 2019/5/29 18:34
 */
public interface OldGameService {

    Map<String, Object> getGameCollectVoList(GameCollectReq gameCollectReq);

    Map<String, Object>  exportMultipartFile(GameCollectReq gameCollectReq, HttpServletResponse request) throws RuntimeException;

    List<GameStatisticsDTO> gameStatisticsList(List<String> uidList, String gameType, Integer startInput, Integer endInput, String startTime, String endTime, Integer offset, Integer limit, String orderBy, String orderType, List<HashMap<String, String>> tableNames);

    int gameStatisticsListCount(List<String> uidList, String gameType, Integer startInput, Integer endInput, String startTime, String endTime, List<HashMap<String, String>> tableNames);

    List<UserGameAccountRecordDTO> listGamerNicknames(Integer accountId, Integer offset, Integer limit, String orderBy, String orderType);

    int countGamerNicknames(Integer accountId);

}
